package com.qf.bank.rabbitmq.config;

import org.springframework.amqp.core.TopicExchange;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 惠佳旭
 * @date 2019/12/3
 */
@Configuration
public class RabbitmqConfig {

  @Bean
  public TopicExchange topicExchange() {
    return new TopicExchange("topic.exchange");
  }
}
